package com.newsee.remote.common.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liangzhichen
 * @since 2019-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("System_Users_Third")
public class SystemUsersThird extends Model<SystemUsersThird> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("UserID")
    private String UserID;

    @TableField("Account")
    private String Account;

    @TableField("UserName")
    private String UserName;

    @TableField("DepartmentID")
    private String DepartmentID;

    @TableField("UserStatus")
    private Integer UserStatus;

    @TableField("mobilePhone")
    private String mobilePhone;

    @TableField("CreateTime")
    private LocalDateTime CreateTime;

    @TableField("UpdateTime")
    private LocalDateTime UpdateTime;

    @TableField("SelfUserID")
    private String SelfUserID;

    @TableField("SelfUpdateTime")
    private LocalDateTime SelfUpdateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
